import { sendCode, checkCode } from '@/api/common/code'

//获取验证图片  以及token
export function reqGet (data) {
  return sendCode({ scenes: 'login', handlerType: 'image' })
}

//滑动或者点选验证
export function reqCheck (data) {
  return checkCode(Object.assign({ scenes: 'login', handlerType: 'image' }, data))
}


